package cn.hbwe.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 7组
 * @since 2023-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("chart")
public class Chart implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病历ID
     */
    @TableId(value = "chart_id", type = IdType.AUTO)
    private Integer chartId;

    /**
     * 病人ID
     */
    private Integer patientId;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 诊断结果
     */
    private String chartRecord;

    /**
     * 科室ID
     */
    private Integer departmentId;

    private String patientName;

    private String doctorName;

    private  int bookingId;
}
